#
#make for first assignment
#
CC=gcc
CFLAG=-g 
a.out: signals.o sig_a.o sig_b.o
	$(CC) $(CFLAG) -o signals signals.o sig_a.o sig_b.o
signals.o:signals.c header.h
	$(CC) -c signals.c
sig_a.o:sig_a.c header.h
	$(CC) -c sig_a.c
sig_b.o:sig_b.c header.h
	$(CC) -c sig_b.c
clean:
	rm -f signals.o
	rm -f *.o
	rm -f *~
	rm -f core
	
